package com.quick.develop.flowable.domain.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
/** 
 * @description  
 * @author junyuan.liu
 * @date 2022/8/22 10:54
 */ 

@ApiModel("管理后台 - 流程模型的创建 Request VO")
@Data
public class BpmModelCreateReqVO implements Serializable {

    private static final long serialVersionUID = 3944144524660082874L;
    @ApiModelProperty(value = "流程标识", required = true, example = "process_id")
    @NotEmpty(message = "流程标识不能为空")
    private String key;

    @ApiModelProperty(value = "流程名称", required = true, example = "xxx流程")
    @NotEmpty(message = "流程名称不能为空")
    private String name;

    @ApiModelProperty(value = "流程分类", notes = "参见 bpm_model_category 数据字典", example = "1")
    @NotEmpty(message = "流程类型不能为空")
    private String category;

    @ApiModelProperty(value = "租户ID")
    private String tenantId;

    @ApiModelProperty(value = "流程描述", example = "我是描述")
    private String description;

}
